package org.jeecg.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.CrawlFeatureDoc;
import org.jeecg.modules.system.entity.CrawlSiteFeatureDoc;

/**
 * @Author wt
 * @Date: 2024/9/25 11:32
 * @Description:
 */
public interface CrawlFeatureDocMapper extends BaseMapper<CrawlFeatureDoc> {
    Page<CrawlFeatureDoc> queryFeatureDoc(Page<CrawlFeatureDoc> page,
                                                  @Param("crawlFeatureDoc") CrawlFeatureDoc crawlFeatureDoc);

    /**
     * 新增
     *
     * @return 结果
     */
    public int insertFeatureDoc(CrawlFeatureDoc crawlFeatureDoc);

    public boolean updateCrawlSiteFeatureDoc(CrawlFeatureDoc crawlFeatureDoc);

    /**
     * 删除变量
     * @param id
     * @return
     */
    public int deleteFeatureDoc(Long id);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    public int deleteBatchFeatureDoc(Long[] ids);


}
